package com.taotao.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class MrPjExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MrPjExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCoverIsNull() {
            addCriterion("cover is null");
            return (Criteria) this;
        }

        public Criteria andCoverIsNotNull() {
            addCriterion("cover is not null");
            return (Criteria) this;
        }

        public Criteria andCoverEqualTo(Integer value) {
            addCriterion("cover =", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverNotEqualTo(Integer value) {
            addCriterion("cover <>", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverGreaterThan(Integer value) {
            addCriterion("cover >", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverGreaterThanOrEqualTo(Integer value) {
            addCriterion("cover >=", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverLessThan(Integer value) {
            addCriterion("cover <", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverLessThanOrEqualTo(Integer value) {
            addCriterion("cover <=", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverIn(List<Integer> values) {
            addCriterion("cover in", values, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverNotIn(List<Integer> values) {
            addCriterion("cover not in", values, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverBetween(Integer value1, Integer value2) {
            addCriterion("cover between", value1, value2, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverNotBetween(Integer value1, Integer value2) {
            addCriterion("cover not between", value1, value2, "cover");
            return (Criteria) this;
        }

        public Criteria andChartletIsNull() {
            addCriterion("chartlet is null");
            return (Criteria) this;
        }

        public Criteria andChartletIsNotNull() {
            addCriterion("chartlet is not null");
            return (Criteria) this;
        }

        public Criteria andChartletEqualTo(Integer value) {
            addCriterion("chartlet =", value, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletNotEqualTo(Integer value) {
            addCriterion("chartlet <>", value, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletGreaterThan(Integer value) {
            addCriterion("chartlet >", value, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletGreaterThanOrEqualTo(Integer value) {
            addCriterion("chartlet >=", value, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletLessThan(Integer value) {
            addCriterion("chartlet <", value, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletLessThanOrEqualTo(Integer value) {
            addCriterion("chartlet <=", value, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletIn(List<Integer> values) {
            addCriterion("chartlet in", values, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletNotIn(List<Integer> values) {
            addCriterion("chartlet not in", values, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletBetween(Integer value1, Integer value2) {
            addCriterion("chartlet between", value1, value2, "chartlet");
            return (Criteria) this;
        }

        public Criteria andChartletNotBetween(Integer value1, Integer value2) {
            addCriterion("chartlet not between", value1, value2, "chartlet");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDesIsNull() {
            addCriterion("des is null");
            return (Criteria) this;
        }

        public Criteria andDesIsNotNull() {
            addCriterion("des is not null");
            return (Criteria) this;
        }

        public Criteria andDesEqualTo(String value) {
            addCriterion("des =", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotEqualTo(String value) {
            addCriterion("des <>", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesGreaterThan(String value) {
            addCriterion("des >", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesGreaterThanOrEqualTo(String value) {
            addCriterion("des >=", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesLessThan(String value) {
            addCriterion("des <", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesLessThanOrEqualTo(String value) {
            addCriterion("des <=", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesLike(String value) {
            addCriterion("des like", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotLike(String value) {
            addCriterion("des not like", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesIn(List<String> values) {
            addCriterion("des in", values, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotIn(List<String> values) {
            addCriterion("des not in", values, "des");
            return (Criteria) this;
        }

        public Criteria andDesBetween(String value1, String value2) {
            addCriterion("des between", value1, value2, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotBetween(String value1, String value2) {
            addCriterion("des not between", value1, value2, "des");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Byte value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Byte value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Byte value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Byte value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Byte value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Byte value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Byte> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Byte> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Byte value1, Byte value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Byte value1, Byte value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andFIdIsNull() {
            addCriterion("f_id is null");
            return (Criteria) this;
        }

        public Criteria andFIdIsNotNull() {
            addCriterion("f_id is not null");
            return (Criteria) this;
        }

        public Criteria andFIdEqualTo(String value) {
            addCriterion("f_id =", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotEqualTo(String value) {
            addCriterion("f_id <>", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdGreaterThan(String value) {
            addCriterion("f_id >", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdGreaterThanOrEqualTo(String value) {
            addCriterion("f_id >=", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdLessThan(String value) {
            addCriterion("f_id <", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdLessThanOrEqualTo(String value) {
            addCriterion("f_id <=", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdLike(String value) {
            addCriterion("f_id like", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotLike(String value) {
            addCriterion("f_id not like", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdIn(List<String> values) {
            addCriterion("f_id in", values, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotIn(List<String> values) {
            addCriterion("f_id not in", values, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdBetween(String value1, String value2) {
            addCriterion("f_id between", value1, value2, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotBetween(String value1, String value2) {
            addCriterion("f_id not between", value1, value2, "fId");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andInventoryIsNull() {
            addCriterion("inventory is null");
            return (Criteria) this;
        }

        public Criteria andInventoryIsNotNull() {
            addCriterion("inventory is not null");
            return (Criteria) this;
        }

        public Criteria andInventoryEqualTo(Integer value) {
            addCriterion("inventory =", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryNotEqualTo(Integer value) {
            addCriterion("inventory <>", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryGreaterThan(Integer value) {
            addCriterion("inventory >", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("inventory >=", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryLessThan(Integer value) {
            addCriterion("inventory <", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryLessThanOrEqualTo(Integer value) {
            addCriterion("inventory <=", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryIn(List<Integer> values) {
            addCriterion("inventory in", values, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryNotIn(List<Integer> values) {
            addCriterion("inventory not in", values, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryBetween(Integer value1, Integer value2) {
            addCriterion("inventory between", value1, value2, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryNotBetween(Integer value1, Integer value2) {
            addCriterion("inventory not between", value1, value2, "inventory");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andLimitedIsNull() {
            addCriterion("limited is null");
            return (Criteria) this;
        }

        public Criteria andLimitedIsNotNull() {
            addCriterion("limited is not null");
            return (Criteria) this;
        }

        public Criteria andLimitedEqualTo(Integer value) {
            addCriterion("limited =", value, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedNotEqualTo(Integer value) {
            addCriterion("limited <>", value, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedGreaterThan(Integer value) {
            addCriterion("limited >", value, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedGreaterThanOrEqualTo(Integer value) {
            addCriterion("limited >=", value, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedLessThan(Integer value) {
            addCriterion("limited <", value, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedLessThanOrEqualTo(Integer value) {
            addCriterion("limited <=", value, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedIn(List<Integer> values) {
            addCriterion("limited in", values, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedNotIn(List<Integer> values) {
            addCriterion("limited not in", values, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedBetween(Integer value1, Integer value2) {
            addCriterion("limited between", value1, value2, "limited");
            return (Criteria) this;
        }

        public Criteria andLimitedNotBetween(Integer value1, Integer value2) {
            addCriterion("limited not between", value1, value2, "limited");
            return (Criteria) this;
        }

        public Criteria andRotateIsNull() {
            addCriterion("rotate is null");
            return (Criteria) this;
        }

        public Criteria andRotateIsNotNull() {
            addCriterion("rotate is not null");
            return (Criteria) this;
        }

        public Criteria andRotateEqualTo(Byte value) {
            addCriterion("rotate =", value, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateNotEqualTo(Byte value) {
            addCriterion("rotate <>", value, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateGreaterThan(Byte value) {
            addCriterion("rotate >", value, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateGreaterThanOrEqualTo(Byte value) {
            addCriterion("rotate >=", value, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateLessThan(Byte value) {
            addCriterion("rotate <", value, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateLessThanOrEqualTo(Byte value) {
            addCriterion("rotate <=", value, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateIn(List<Byte> values) {
            addCriterion("rotate in", values, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateNotIn(List<Byte> values) {
            addCriterion("rotate not in", values, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateBetween(Byte value1, Byte value2) {
            addCriterion("rotate between", value1, value2, "rotate");
            return (Criteria) this;
        }

        public Criteria andRotateNotBetween(Byte value1, Byte value2) {
            addCriterion("rotate not between", value1, value2, "rotate");
            return (Criteria) this;
        }

        public Criteria andRoMaxIsNull() {
            addCriterion("ro_max is null");
            return (Criteria) this;
        }

        public Criteria andRoMaxIsNotNull() {
            addCriterion("ro_max is not null");
            return (Criteria) this;
        }

        public Criteria andRoMaxEqualTo(String value) {
            addCriterion("ro_max =", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxNotEqualTo(String value) {
            addCriterion("ro_max <>", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxGreaterThan(String value) {
            addCriterion("ro_max >", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxGreaterThanOrEqualTo(String value) {
            addCriterion("ro_max >=", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxLessThan(String value) {
            addCriterion("ro_max <", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxLessThanOrEqualTo(String value) {
            addCriterion("ro_max <=", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxLike(String value) {
            addCriterion("ro_max like", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxNotLike(String value) {
            addCriterion("ro_max not like", value, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxIn(List<String> values) {
            addCriterion("ro_max in", values, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxNotIn(List<String> values) {
            addCriterion("ro_max not in", values, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxBetween(String value1, String value2) {
            addCriterion("ro_max between", value1, value2, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMaxNotBetween(String value1, String value2) {
            addCriterion("ro_max not between", value1, value2, "roMax");
            return (Criteria) this;
        }

        public Criteria andRoMinIsNull() {
            addCriterion("ro_min is null");
            return (Criteria) this;
        }

        public Criteria andRoMinIsNotNull() {
            addCriterion("ro_min is not null");
            return (Criteria) this;
        }

        public Criteria andRoMinEqualTo(String value) {
            addCriterion("ro_min =", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinNotEqualTo(String value) {
            addCriterion("ro_min <>", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinGreaterThan(String value) {
            addCriterion("ro_min >", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinGreaterThanOrEqualTo(String value) {
            addCriterion("ro_min >=", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinLessThan(String value) {
            addCriterion("ro_min <", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinLessThanOrEqualTo(String value) {
            addCriterion("ro_min <=", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinLike(String value) {
            addCriterion("ro_min like", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinNotLike(String value) {
            addCriterion("ro_min not like", value, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinIn(List<String> values) {
            addCriterion("ro_min in", values, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinNotIn(List<String> values) {
            addCriterion("ro_min not in", values, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinBetween(String value1, String value2) {
            addCriterion("ro_min between", value1, value2, "roMin");
            return (Criteria) this;
        }

        public Criteria andRoMinNotBetween(String value1, String value2) {
            addCriterion("ro_min not between", value1, value2, "roMin");
            return (Criteria) this;
        }

        public Criteria andFixedIsNull() {
            addCriterion("fixed is null");
            return (Criteria) this;
        }

        public Criteria andFixedIsNotNull() {
            addCriterion("fixed is not null");
            return (Criteria) this;
        }

        public Criteria andFixedEqualTo(Byte value) {
            addCriterion("fixed =", value, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedNotEqualTo(Byte value) {
            addCriterion("fixed <>", value, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedGreaterThan(Byte value) {
            addCriterion("fixed >", value, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedGreaterThanOrEqualTo(Byte value) {
            addCriterion("fixed >=", value, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedLessThan(Byte value) {
            addCriterion("fixed <", value, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedLessThanOrEqualTo(Byte value) {
            addCriterion("fixed <=", value, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedIn(List<Byte> values) {
            addCriterion("fixed in", values, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedNotIn(List<Byte> values) {
            addCriterion("fixed not in", values, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedBetween(Byte value1, Byte value2) {
            addCriterion("fixed between", value1, value2, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixedNotBetween(Byte value1, Byte value2) {
            addCriterion("fixed not between", value1, value2, "fixed");
            return (Criteria) this;
        }

        public Criteria andFixeXIsNull() {
            addCriterion("fixe_x is null");
            return (Criteria) this;
        }

        public Criteria andFixeXIsNotNull() {
            addCriterion("fixe_x is not null");
            return (Criteria) this;
        }

        public Criteria andFixeXEqualTo(String value) {
            addCriterion("fixe_x =", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXNotEqualTo(String value) {
            addCriterion("fixe_x <>", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXGreaterThan(String value) {
            addCriterion("fixe_x >", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXGreaterThanOrEqualTo(String value) {
            addCriterion("fixe_x >=", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXLessThan(String value) {
            addCriterion("fixe_x <", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXLessThanOrEqualTo(String value) {
            addCriterion("fixe_x <=", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXLike(String value) {
            addCriterion("fixe_x like", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXNotLike(String value) {
            addCriterion("fixe_x not like", value, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXIn(List<String> values) {
            addCriterion("fixe_x in", values, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXNotIn(List<String> values) {
            addCriterion("fixe_x not in", values, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXBetween(String value1, String value2) {
            addCriterion("fixe_x between", value1, value2, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeXNotBetween(String value1, String value2) {
            addCriterion("fixe_x not between", value1, value2, "fixeX");
            return (Criteria) this;
        }

        public Criteria andFixeYIsNull() {
            addCriterion("fixe_y is null");
            return (Criteria) this;
        }

        public Criteria andFixeYIsNotNull() {
            addCriterion("fixe_y is not null");
            return (Criteria) this;
        }

        public Criteria andFixeYEqualTo(String value) {
            addCriterion("fixe_y =", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYNotEqualTo(String value) {
            addCriterion("fixe_y <>", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYGreaterThan(String value) {
            addCriterion("fixe_y >", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYGreaterThanOrEqualTo(String value) {
            addCriterion("fixe_y >=", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYLessThan(String value) {
            addCriterion("fixe_y <", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYLessThanOrEqualTo(String value) {
            addCriterion("fixe_y <=", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYLike(String value) {
            addCriterion("fixe_y like", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYNotLike(String value) {
            addCriterion("fixe_y not like", value, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYIn(List<String> values) {
            addCriterion("fixe_y in", values, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYNotIn(List<String> values) {
            addCriterion("fixe_y not in", values, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYBetween(String value1, String value2) {
            addCriterion("fixe_y between", value1, value2, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeYNotBetween(String value1, String value2) {
            addCriterion("fixe_y not between", value1, value2, "fixeY");
            return (Criteria) this;
        }

        public Criteria andFixeZIsNull() {
            addCriterion("fixe_z is null");
            return (Criteria) this;
        }

        public Criteria andFixeZIsNotNull() {
            addCriterion("fixe_z is not null");
            return (Criteria) this;
        }

        public Criteria andFixeZEqualTo(String value) {
            addCriterion("fixe_z =", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZNotEqualTo(String value) {
            addCriterion("fixe_z <>", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZGreaterThan(String value) {
            addCriterion("fixe_z >", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZGreaterThanOrEqualTo(String value) {
            addCriterion("fixe_z >=", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZLessThan(String value) {
            addCriterion("fixe_z <", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZLessThanOrEqualTo(String value) {
            addCriterion("fixe_z <=", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZLike(String value) {
            addCriterion("fixe_z like", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZNotLike(String value) {
            addCriterion("fixe_z not like", value, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZIn(List<String> values) {
            addCriterion("fixe_z in", values, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZNotIn(List<String> values) {
            addCriterion("fixe_z not in", values, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZBetween(String value1, String value2) {
            addCriterion("fixe_z between", value1, value2, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andFixeZNotBetween(String value1, String value2) {
            addCriterion("fixe_z not between", value1, value2, "fixeZ");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNull() {
            addCriterion("ctime is null");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNotNull() {
            addCriterion("ctime is not null");
            return (Criteria) this;
        }

        public Criteria andCtimeEqualTo(Integer value) {
            addCriterion("ctime =", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotEqualTo(Integer value) {
            addCriterion("ctime <>", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThan(Integer value) {
            addCriterion("ctime >", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ctime >=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThan(Integer value) {
            addCriterion("ctime <", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThanOrEqualTo(Integer value) {
            addCriterion("ctime <=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeIn(List<Integer> values) {
            addCriterion("ctime in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotIn(List<Integer> values) {
            addCriterion("ctime not in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeBetween(Integer value1, Integer value2) {
            addCriterion("ctime between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotBetween(Integer value1, Integer value2) {
            addCriterion("ctime not between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Integer value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Integer value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Integer value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Integer value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Integer value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Integer> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Integer> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Integer value1, Integer value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}